from native cimport dict, list
from rational cimport Rational

cdef class VectorSpace(object):
    cdef readonly object base
    cdef readonly int dimension
    cpdef dict coordinates(self, list combo)

cdef class ChainComplex(object):
    cdef int length
    cdef object differential
    cdef object module
    cdef readonly Rational orbifold_euler_characteristics
    cpdef list compute_homology_ranks(self)

